/* Comunes a toda la aplicacion */
* {
	margin:0;
	padding:0;
    font-family:arial,helvetica,verdana,sans-serif;
}

body {
	padding: 0px;
}

img{
	padding-left:3px;
	padding-right:3px;
    border:0px;
}

select{
	width:200px;
}

input.checkbox {
	width:15px;
}

input{
	width:195px;
}

textarea{
	width:390px;
}

table{
	border-collapse:collapse;
}

th{
	white-space:nowrap;
}

td{
	white-space:nowrap;
}

h1{
    color:#56675D;
    font-size:22px;
    font-weight:bold;
}

h2{
    color:#427782;
    font-size:17px;
    font-weight:bold;
	padding-bottom:2px;
}

h3{
    color:#E60700;
    font-size:14px;
    font-weight:normal;
	text-align:left;
	padding-top:15px;
	padding-bottom:5px;
}

a{
    color:#020167;
    font-size:11px;
    font-weight:normal;
    text-decoration:none;
    padding:2px 2px 2px 2px;
}

a:hover{
    color:#020167;
    font-size:11px;
    font-weight:normal;
    text-decoration:underline;
    padding:2px 2px 2px 2px;
}

.select_hora {
	width:40px;
}

/* Esquinas Redondeadas */
div#caja .head_izq{
	background:#ffffff url(../img/caja_head_izq.jpg) no-repeat;
	width:17px;
	height:13px;
	border:0px;
	margin:0px;
	padding:0px;
}
div#caja .head_cen{
	background:#ffffff url(../img/caja_head_cen.jpg) repeat-x;
	height:13px;
	border:0px;
	margin:0px;
	padding:0px;
}
div#caja .head_der{
	background:#ffffff url(../img/caja_head_der.jpg) no-repeat;
	width:19px;
	height:13px;
	border:0px;
	margin:0px;
	padding:0px;
}
div#caja .body_izq{
	background:#ffffff url(../img/caja_body_izq.jpg) repeat-y;
	width:17px;
	border:0px;
	margin:0px;
	padding:0px;
}
div#caja .body_cen{
	background:#ffffff;
	border:0px;
	margin:0px;
	padding:0px;
}
div#caja .body_der{
	background:#ffffff url(../img/caja_body_der.jpg) repeat-y;
	width:19px;
	border:0px;
	margin:0px;
	padding:0px;
}
div#caja .foot_izq{
	background:#ffffff url(../img/caja_foot_izq.jpg) no-repeat;
	width:17px;
	height:23px;
	border:0px;
	margin:0px;
	padding:0px;
}
div#caja .foot_cen{
	background:#ffffff url(../img/caja_foot_cen.jpg) repeat-x;
	height:23px;
	border:0px;
	margin:0px;
	padding:0px;
}
div#caja .foot_der{
	background:#ffffff url(../img/caja_foot_der.jpg) no-repeat;
	width:19px;
	height:23px;
	border:0px;
	margin:0px;
	padding:0px;
}


/* layout */
div#encabezado {
	background-color:blue;
	clear:both;
	text-align:right;
    color: #1A18F0;
    font-size: 14px;
    font-weight: bold;
	overflow: hidden;
    height: 60px;
	background:#E9E9E9 url(../img/encabezado.jpg) no-repeat;
	width:100%;
	border-color:#56675D;
	border-style:solid;
	border-width:0px 0px 1px 0px;
	margin:0px 0px 5px 0px;
}

div#bienvenida {
	padding:10px;
}

div#contenido {
	width: 99.8%;
	float:right;
	padding:10px 0px 0px 0px;
	overflow-x:auto;
}

div#pie {
/*	background-color:blue; */
	clear:both;
}

/* Menu */
div#menu {
	width: 99.8%;
    height: 75px;
	background-color:#E9E9E9;
	border-color:#56675D;
	border-style:solid;
	border-width:1px;
}

div#menu a{
	display: block;
    font-size:11px;
	text-decoration:none;
	border-width:1px 1px 1px 1px;
	border-color:#56675D;
	border-style:solid;
	background-color:#E9E9E9;
	overflow:hidden;
}

div#menu a:hover{
    font-size:11px;
	border-width:2px 1px 1px 2px;
	border-color:#56675D;
	border-style:solid;
}

.menu_presionado {
	padding:3px;
	float:left;
	text-align:center;
	width:62px;
	height:70px;
	background-color:gray;
}

.menu_item {
	padding:3px;
	float:left;
	text-align:center;
	width:62px;
	height:80px;
}


/* Paginador */
div#paginador_navegacion {
    color: #E60700;
    font-size: 12px;
    font-weight: bold;
    padding: 0px 2px 2px 0px;
}

div#paginador_navegacion span#navegacion {
    color: #cccccc;
	font-size: 11px;
	font-weight: normal;
}

div#paginador_posicion span#posicion {
    color: #000000;
	font-size: 11px;
	font-weight: normal;
}
/*
#primero {
	background:#ffffff url(../img/primero.gif) no-repeat;
}

#anterior {
	background:#ffffff url(../img/anterior.gif) no-repeat;
	padding-left:5px;
}

#siguiente {
	background:#ffffff url(../img/siguiente.gif) no-repeat;
	padding-left:5px;
}

#ultimo {
	background:#ffffff url(../img/ultimo.gif) no-repeat;
	padding-left:5px;
}
*/

/* Index */
div#index {
	float:left;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
}

div#grilla_index {
	height: 375px;
	display: block;
	overflow: auto;
}

div#grilla_index table.grilla {
	margin-bottom: 10px;
	width: 98.3%; 
}

div#grilla_index table.grilla_alertas {
	width: 100%; 
}

div#index table th {
	background-color:#56675D;
    color: white;
    font-size:11px;
    font-weight:normal;
	text-align:center;
	padding:5px;
    border:1px solid #cccccc;
}

div#index table th a{
    color: white;
    font-size: 11px;
    font-weight: normal;
    text-decoration: none;
    padding: 2px 2px 2px 2px;
}

div#index table th a:hover{
    color: white;
    font-size: 11px;
    font-weight: normal;
    text-decoration: underline;
    padding: 2px 2px 2px 2px;
}

div#index table tr.alterna {
    background-color:#eaeaea;
}

div#index table td {
    color:#333333;
    font-size:11px;
    font-weight:bold;
	text-align:left;
	padding:5px;
    border:1px solid #cccccc;
}

div#index table td.grilla_derecha {
	text-align:right;
}

div#index table td.grilla_izquierda {
	text-align:left;
}

div#index table td.grilla_centro {
	text-align:center;
}


div#index table tr.desglose {
	display:none;
}

.acciones {
	width:7%;
}

.submit {
	padding:5px;
	float:right;
}

.nuevo {
	padding:5px 0px 5px 0px;
}

/* grilla_index_detalle
es la grilla de desglose, que se abre via request ajax
*/
div#grilla_index_detalle 
{
}

div#grilla_index_detalle table {
	width:100%;
}

div#grilla_index_detalle table th {
	background-color: #427782;
	padding:2px;
}

div#grilla_index_detalle table td {
	background-color: #F8F8F8;
	padding: 2px 5px 2px 5px;
}

/* Filtro */
table#filtro {
	width: 100%;
}

table#filtro .etiqueta {
	width:35%;
	float:left;
	height: 15px;
	padding-top: 5px;
	text-align: right;
}

table#filtro .input {
	float:left;
	height: 15px;
}

/* Views */
div#view {
	overflow:hidden;
}

div#view table.vista {
	margin-bottom: 10px;
	width: 100%;
}

div#view table td.label {
	background-color:#f7f7f7;
	color:#333333;
	font-size:11px;
	font-weight:bold;
	text-align:right;
	padding:5px;
	border:1px solid #cccccc;
	width: 20%;
}

div#view table td.contenido {
    color:#333333;
    font-size:11px;
    font-weight:bold;
	text-align:left;
	padding:5px;
    border:1px solid #cccccc;
	width: 30%;
}

div#view table th {
	background-color:#020167;
    color: white;
    font-size:11px;
	text-align:center;
	padding:5px;
    border:1px solid #cccccc;
}

div#view table tr.alterna {
    background-color:#eaeaea;
}

div#view table td {
    color:#333333;
    font-size:11px;
    font-weight:bold;
	text-align:left;
	padding:5px;
    border:1px solid #cccccc;
}

div#view table td.grilla_derecha {
	text-align:right;
}

div#view table td.grilla_izquierda {
	text-align:left;
}

div#view table td.grilla_centro {
	text-align:center;
}

.etiqueta{
	padding-right:5px;
}

/* MENSAJES */
.session_flash_ok {
	position:absolute;
	background-color:#00FF00;
	color:#333333;
	font-size:14px;
	width:400px;
	font-weight:bold;
	z-index:100;
	text-align:center;
}

.session_flash_error {
	position:absolute;
	background-color:red;
	color:#333333;
	font-size:14px;
	width:400px;
	font-weight:bold;
	z-index:100;
	text-align:center;
}

/* ADD / EDIT */
div#add_edit {
	overflow:hidden;
}

div#add_edit table.vista {
	margin-bottom: 10px;
	width: 100%;
}


div#add_edit table {
	border-collapse:separate;
}

div#add_edit table th {
	background-color:#020167;
    color: white;
    font-size:11px;
	text-align:center;
	padding:5px;
    border:1px solid #cccccc;
}

div#add_edit table tr.alterna {
    background-color:#eaeaea;
}

div#add_edit table td {
 	background-color:#f7f7f7;
   color:#333333;
    font-size:11px;
    font-weight:bold;
	text-align:left;
	padding:5px;
    border:1px solid #cccccc;
}

div#add_edit table td.grilla_derecha {
	text-align:right;
}

div#add_edit table td.grilla_izquierda {
	text-align:left;
}

div#add_edit table td.grilla_centro {
	text-align:center;
}

.etiqueta{
	padding-right:5px;
}


/* CONTROLES */
.checkboxMultiple div{
    display:block; 
    font-size:11px;
    font-weight:normal;
	text-align:left;
    text-decoration:none;
    padding:2px 2px 2px 2px;
}

.checkboxMultiple #acciones a{
    color:#020167;
    font-size:12px;
    font-weight:normal;
    text-decoration:none;
    padding:5px;
}

.checkboxMultiple #acciones a:hover{
    color:#020167;
    font-size:12px;
    font-weight:normal;
    text-decoration:underline;
    padding:5px;
}

.buscar {
	width: 80px;
	height: 27px;
	background: #eeeeee url(../img/buscar.png) no-repeat;
}

.limpiar {
	width: 80px;
	height: 27px;
	background: #eeeeee url(../img/limpiar.png) no-repeat;
}

.facturar {
	width: 125px;
	height: 27px;
	background: #eeeeee url(../img/facturar.gif) no-repeat;
}

.grabar {
	width: 80px;
	height: 27px;
	background: #eeeeee url(../img/guardar.png) no-repeat;
}

.cancelar {
	width: 80px;
	height: 27px;
	background: #eeeeee url(../img/cancelar.png) no-repeat;
}

.auto_complete {
      position:absolute;
      width:250px;
      background-color:white;
      border:1px solid #888;
      margin:0px;
      padding:0px;
}

.auto_complete ul {
      list-style-type: none;
      margin:0px;
      padding:0px;
}

.auto_complete ul li.selected 
{ 
        background-color: #bbf;
}

.auto_complete ul li {
      list-style-type: none;
      display:block;
      margin:0;
      padding:2px;
      height:16px;
}

/* PARTICULARES */
div#grilla_index_movimientos {
	display: block;
	overflow: auto;
	width: 100%;
	padding-top:20px;
}

div#grilla_index_movimientos td{
	width: 100px;
}

div#grilla_index_movimientos .grilla_index_movimientos_nombre {
	text-align:right;
	width: 300px;
}

.tabla_izquierda {
	width:45%;
	float:left;
}

.tabla_derecha {
	width:45%;
	float: right;
}

.reportes {
	float:left;
}

.sim-seleccionada {
	padding:0px 10px 0px 0px;
}

.imprimir_seleccion_excel {
	width: 126px;
	height: 27px;
	background: #eeeeee url(../img/imprimir_seleccion_excel.png) no-repeat;
}

.imprimir_pagina_excel {
	width: 126px;
	height: 27px;
	background: #eeeeee url(../img/imprimir_pagina_excel.png) no-repeat;
}

.imprimir_busqueda_excel {
	width: 126px;
	height: 27px;
	background: #eeeeee url(../img/imprimir_busqueda_excel.png) no-repeat;
}

.imprimir_todo_excel {
	width: 126px;
	height: 27px;
	background: #eeeeee url(../img/imprimir_todo_excel.png) no-repeat;
}

.imprimir_seleccion_pdf {
	width: 126px;
	height: 27px;
	background: #eeeeee url(../img/imprimir_seleccion_pdf.png) no-repeat;
}

.imprimir_pagina_pdf {
	width: 126px;
	height: 27px;
	background: #eeeeee url(../img/imprimir_pagina_pdf.png) no-repeat;
}

.imprimir_busqueda_pdf {
	width: 126px;
	height: 27px;
	background: #eeeeee url(../img/imprimir_busqueda_pdf.png) no-repeat;
}

.imprimir_todo_pdf {
	width: 126px;
	height: 27px;
	background: #eeeeee url(../img/imprimir_todo_pdf.png) no-repeat;
}

.estadisticas_clientes {
	background: yellow;
}